﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/admin.Master" AutoEventWireup="true" CodeBehind="ThemUser.aspx.cs" Inherits="WebsiteDemo.Admin.ThemUser" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <link href="../App_Themes/Theme/css/style.css" rel="stylesheet" />

    <script type="text/javascript">
        $(document).ready(function(){
            $("#<%=txtdatecreate.ClientID%>").datepicker({ dateFormat: "dd/mm/yy", maxDate: "+0D" });
            $("#<%=txtdateupdate.ClientID%>").datepicker({ dateFormat: "dd/mm/yy", maxDate: "+0D" });
            $("#<%=txtdatelogin.ClientID%>").datepicker({ dateFormat: "dd/mm/yy", maxDate: "+0D" });
        });
    </script>
    <p>
        <asp:Label ID="LabelMessage" runat="server"></asp:Label>
        <br />
        <table style="width:100%;">
            <tr>
                <td style="width: 94px; height: 26px;">FullName</td>
                <td style="height: 26px">
                    <asp:TextBox ID="txtfullname" runat="server" Width="149px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtfullname" CssClass="error" Display="Dynamic" ErrorMessage="RequiredFieldValidator">FullName không được để trống</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width: 94px">UserName</td>
                <td>
                    <asp:TextBox ID="txtusername" runat="server" Width="149px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtusername" CssClass="error" Display="Dynamic" ErrorMessage="UserName hông được để trống"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width: 94px; height: 26px;">Email</td>
                <td style="height: 26px">
                    <asp:TextBox ID="txtemail" runat="server" Width="149px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtemail" CssClass="error" Display="Dynamic" ErrorMessage="Email không được để trống"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtemail" CssClass="error" Display="Dynamic" ErrorMessage="RegularExpressionValidator" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">Sai định dạng Email</asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td style="width: 94px">Password</td>
                <td>
                    <asp:TextBox ID="txtpassword" runat="server" TextMode="Password" Width="149px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtpassword" CssClass="error" Display="Dynamic" ErrorMessage="Password không được để trống"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width: 94px; height: 24px;">Status</td>
                <td style="height: 24px">
                    <asp:DropDownList ID="DropDownListStatus" runat="server" Height="20px" Width="153px">
                        <asp:ListItem Value="true">enabled</asp:ListItem>
                        <asp:ListItem Value="false">disnabled</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td style="width: 94px">Description</td>
                <td>
                    <asp:TextBox ID="txtdescription" runat="server" Width="149px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width: 94px">DeaCreate</td>
                <td>
                    <asp:TextBox ID="txtdatecreate" runat="server" Width="149px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width: 94px; height: 26px;">DateUpdate</td>
                <td style="height: 26px">
                    <asp:TextBox ID="txtdateupdate" runat="server" Width="149px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width: 94px">DataLogin</td>
                <td>
                    <asp:TextBox ID="txtdatelogin" runat="server" Width="149px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width: 94px">Address</td>
                <td>
                    <asp:TextBox ID="txtaddress" runat="server" Width="149px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width: 94px">Country</td>
                <td>
                    <asp:TextBox ID="txtcountry" runat="server" Width="149px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width: 94px">Phone</td>
                <td>
                    <asp:TextBox ID="txtphone" runat="server" Width="149px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td style="width: 94px">&nbsp;</td>
                <td>
                    <asp:Button ID="btnSave" runat="server" OnClick="Button1_Click" Text="Save" />
                </td>
            </tr>
        </table>
    </p>
</asp:Content>
